<div class="well">
<a class="close" href="#">&times;</a>
<p>
<strong>
<a href="{% url thought_update thought_id=thought.id dontvalidate='no'%}">{{ thought.title }}: </a>&nbsp;
</strong> 
<a href="{% url thought_vnote thought_id=thought.id %}">({{ notes_count }}) Notes</a>

{% if thought.published %} 
<small> published by <a href="#" > {{thought.inventor.username}} </a> On {{ thought.published_date }} </small> 
{% endif%}
</p>
<p>
{{ thought.snippet }}


</p>
<p>
          
  <a href="{% url thought_vnote thought_id=thought.id %}"  ><span class="label warning">Attach Note</span></a>
       
   {% if test %} 
        {% if witness %}
            <a href="{% url thought_tgwitness thought.id %}" ><span class="label">Witness</span></a>
         {% else  %}
            <a href="{% url thought_tgwitness thought.id %}" ><span class="label">UnWitness</span></a>
         {% endif %}

           <a href="{% url thought_publish thought.id %}" ><span class="label notice">Publish</span></a>
  
  {% endif %}     

</p>
</div>

